package com.roadjava.GDOUGym.mapper;

import com.roadjava.GDOUGym.bean.dto.CompetitionDTO;
import com.roadjava.GDOUGym.bean.dto.GameDTO;
import com.roadjava.GDOUGym.bean.entity.CompetitionDO;
import com.roadjava.GDOUGym.bean.entity.GameDO;

import java.util.List;

public interface CompetitionMapper {
    List<CompetitionDO> find(CompetitionDTO dto);
    long selectCount(CompetitionDTO dto);

    int add(CompetitionDO competitionDO);
    int change(CompetitionDO competitionDO);
    int delete(CompetitionDO competitionDO);
}
